@font-face {
  font-family: "Din";
  src: url(../../resource/font/DINPro-Bold.ttf);
}

body {
  margin: 0;
  background-color: #000;
  color: #fff;
  font-family: "Din", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 24px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a {
  color: #ff0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  text-transform: uppercase;
}

canvas {
  display: block;
  cursor: pointer;
}

.iframe-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
}

a,
button,
input,
select {
  pointer-events: auto;
}

video {
  object-fit: fill;
}

.fixed {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px;
  height: 55px;
  color: #cdcdcd;
  background: linear-gradient(180deg, black, transparent);
  transition: all 600ms linear;
}

.fixed > div {
  display: flex;
  align-items: center;
}

.fixed > div:first-child {
  font-size: 24px;
  font-weight: bold;
}

.fixed > div:last-child {
  font-size: 20px;
}

.fixed .title {
  margin: 0 10px;
}

.fixed .message {
  display: flex;
  margin: 0 10px;
}

.fixed .message-icon {
  width: 32px;
  height: 32px;
  background: url(../../resource/images/bim/消息.png) no-repeat center;
  background-size: contain;
  cursor: pointer;
}

.fixed .time {
  font-size: 24px;
}

.fixed .portrait {
  width: 22px;
  height: 22px;
  background: url(../../resource/images/bim/admin.png) no-repeat center;
  background-size: contain;
  margin-right: 5px;
}

.fixed .split-line {
  height: 24px;
  width: 2px;
  background-color: rgba(255, 255, 255, 0.6);
  margin: 0 10px;
}

.bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #75cbde;
  z-index: 1;
  transition: all 600ms linear;
  background: url(../../resource/images/bim/header.png) no-repeat 50% 35%;
  height: 75px;
}

.bottom > div {
  margin: 5px;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  border: 1px solid transparent;
}

.bottom > div:hover,
.bottom .selected {
  color: #ff2;
}

.bottom .home {
  background: url(../../resource/images/logo.png) no-repeat center;
  background-size: contain;
}

.hc {
  height: 300px;
}

.glass-wrapper {
  color: #fff;
}

.glass-left-wrapper {
  position: absolute;
  top: 120px;
  left: -500px;
  transition: all 600ms ease-in-out;
  z-index: 2;
  min-height: 836px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 5px #000;
}

.glass-right-wrapper {
  position: absolute;
  top: 120px;
  right: -500px;
  transition: all 600ms ease-in-out;
  z-index: 2;
  min-height: 836px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 5px #000;
}

.glass-wrapper > div > div {
  width: 400px;
  padding: 10px;
}

.glass-wrapper > div > div > div {
  padding: 10px;
}

.glass-wrapper .title {
  font-size: 20px;
  background: url(../../resource/images/bim/title-bg.png) no-repeat left;
  background-size: contain;
  padding-left: 25px;
}

.message-wrapper .msg-type {
  display: flex;
  justify-content: space-between;
  margin: 10px;
}

.message-wrapper .msg-type > div {
  cursor: pointer;
}

.message-wrapper .msg-type > div:hover,
.message-wrapper .msg-type .selected {
  color: #ff2;
  border-bottom: 1px solid;
}

.message-wrapper .msg-num {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

.message-wrapper .msg-num > div {
  width: 150px;
  height: 150px;
  border: 5px solid;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #08b2e3;
}

.message-wrapper .msg-record {
  max-height: 540px;
  overflow-y: auto;
  padding: 5px;
}

.message-wrapper .msg-record > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  cursor: pointer;
}

.message-wrapper .msg-record > div:hover {
  color: #ff2;
}

.big-wrapper > div > div {
  width: 600px !important;
}

.big-wrapper .glass-right-wrapper {
  right: -700px;
  min-height: auto !important;
}

.incident-wrapper .tabs,
.device-wrapper .tabs,
.save-wrapper .tabs,
.energy-wrapper .tabs {
  display: flex;
}

.incident-wrapper .tabs > div,
.device-wrapper .tabs > div,
.save-wrapper .tabs > div,
.energy-wrapper .tabs > div {
  margin-right: 10px;
  cursor: pointer;
}

.incident-wrapper .tabs .selected,
.device-wrapper .tabs .selected,
.save-wrapper .tabs .selected,
.energy-wrapper .tabs .selected {
  color: #ff2;
  border-bottom: 1px solid;
}

.save-wrapper .realtime-type,
.energy-wrapper .realtime-type {
  display: flex;
  width: 100px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #227aff;
}

.save-wrapper .realtime-type > div,
.energy-wrapper .realtime-type > div {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0 10px;
  cursor: pointer;
}

.save-wrapper .selected,
.energy-wrapper .selected {
  color: #fff;
}

.save-wrapper .realtime-type > div:nth-child(2),
.energy-wrapper .realtime-type > div:nth-child(2) {
  border-left: none;
  border-right: none;
}

.save-wrapper .realtime-label,
.energy-wrapper .realtime-label {
  height: 30px;
  display: flex;
  align-items: center;
  font-size: 12px;
}

.energy-wrapper .plan-data {
  position: relative;
  padding: 0 20px;
  color: #ddd;
}

.energy-wrapper .plan-data .pdt {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  border-bottom: 1px dashed;
  padding-bottom: 5px;
}

.energy-wrapper .plan-data .pdm {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}

.energy-wrapper .plan-data .pdm > div {
  text-align: center;
}

.energy-wrapper .plan-data .pd-num {
  font-size: 36px;
  margin-bottom: 5px;
}

.energy-wrapper .plan-data .pdb {
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
}

.energy-wrapper .plan-data .plan-col {
  position: absolute;
  height: 155px;
  width: 30px;
  bottom: 40px;
  left: 220px;
  background: #1a81db;
}

.energy-wrapper .plan-data .realtime-col {
  position: absolute;
  height: 155px;
  width: 30px;
  bottom: 40px;
  left: 310px;
  background: #1a81db;
}

.energy-wrapper .plan-data .extra-col {
  position: absolute;
  height: 50px;
  width: 30px;
  bottom: 195px;
  left: 310px;
  background: linear-gradient(0deg, yellow, red);
}

.er-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.er-data > div {
  flex: 1;
  margin: 10px 20px;
}

.er-data > div > div {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
}

.he-data {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.hp {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hp .hc {
  width: 280px;
}

.hp .hp-data {
  display: flex;
  flex-direction: column;
}

.hp .hp-data > div {
  margin: 10px 0;
}

.ha-data {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.ha-data > div {
  text-align: center;
}

.ha-data .ha-num {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.ha-data .i {
  color: red;
}

.ha-data .ii {
  color: orange;
}

.ha-data .iii {
  color: blue;
}

.hs-data {
  display: flex;
  justify-content: space-around;
}

.hs-data > div > div {
  margin: 38px 0;
}

.hs-data > div:last-child {
  color: #49fdf5;
  font-size: 20px;
  font-weight: bold;
}

.fa-data > div {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 20px;
}

.fa-data > div > div {
  text-align: center;
}

.fa-data > div > div > div {
  margin-bottom: 10px;
}

.ft-data .ft-num,
.fe-data .fa-num,
.fa-data .fa-num {
  font-size: 24px;
  color: red;
  margin-right: 5px;
}

.fe-data {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 30px;
}

.ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ft .hc {
  width: 280px;
}

.ft-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ft-data > div {
  margin: 20px;
}

.sm-data > div {
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sm-data .video-info {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  font-size: 12px;
  padding: 0 5px;
}

.sm-data .video-signal {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  margin-left: 5px;
}

.se-data {
  display: flex;
  align-items: center;
  justify-content: center;
}

.se-data > div {
  flex: 1;
}

.se-data > div > div {
  margin: 10px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.et-data > div {
  display: flex;
  padding: 5px;
  align-items: center;
  justify-content: space-between;
}

.et-data > div > div {
  flex: 1;
  text-align: center;
  max-width: 90px;
  overflow: hidden;
  max-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.et-data > div:nth-child(odd) {
  background: linear-gradient(45deg, black, transparent);
}

.op-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px !important;
}

.op-data > div {
  display: flex;
}

.op-data > div > div:first-child {
  margin-right: 20px;
}

.op-data span {
  font-size: 24px;
  padding: 5px;
  color: #08b2e3;
}

.op-slider {
  padding-bottom: 0;
  overflow-x: auto;
}

.op-slider > div {
  height: 100%;
  width: 1560px;
  display: flex;
  align-items: center;
}

.op-card {
  font-size: 12px;
  margin-right: 10px;
  width: 185px;
}

.op-card > div {
  padding: 0 5px;
}

.op-card > div:first-child {
  display: flex;
  justify-content: space-between;
  background: #000;
}

.op-card > div:nth-child(2) {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 185px;
}

.op-card > div:last-child > div:first-child {
  display: flex;
  justify-content: space-between;
}

.mo-data,
.mf-data {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 !important;
  color: #08b2e3;
}

.mp-data > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 10px 0;
  color: #08b2e3;
}

.mb-data > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
  padding: 10px;
  background: linear-gradient(45deg, black, transparent);
}

.sae-data > div {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 10px 0;
}

.sae-data > div:first-child {
  flex-direction: column;
  justify-content: center;
  border-top: 1px dashed #999;
  border-bottom: 1px dashed #999;
}

.sae-data > div:first-child > div {
  margin: 5px 0;
}

.sae-data > div:last-child {
  justify-content: space-between;
  border-bottom: 1px dashed #999;
}

.sae-data > div:last-child > div {
  flex: 1;
  text-align: center;
}

.sae-data > div:last-child > div > div {
  margin: 5px 0;
}

.sae-data .sae-ht {
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 14px;
}

.saex-data .sae-num,
.sae-data .sae-num {
  font-size: 32px;
  color: #08b2e3;
}

.saex-data {
  padding: 0 !important;
}

.saex-data > div {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.saex-data > div > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.saex-data > div > div:last-child > div {
  margin: 0 10px;
}

.saex-data > div > div:last-child > div > div {
  margin: 10px 0;
}

.saex-data .saex-icon {
  width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-right: 10px;
}

.saex-data .saex-e {
  background-image: url(../../resource/images/bim/电.png);
}

.saex-data .saex-w {
  background-image: url(../../resource/images/bim/水.png);
}

.saex-data .saex-g {
  background-image: url(../../resource/images/bim/气.png);
}

.d-img {
  height: 200px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.d-video {
  display: flex;
  justify-content: center;
}

.d-info {
  overflow-y: auto;
  max-height: 300px;
}

.d-info > div {
  margin: 10px;
  display: flex;
  justify-content: space-between;
}

.blink {
  animation: blink 1200ms infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media screen and (max-width: 1367px) {
  .glass-left-wrapper,
  .glass-right-wrapper {
    top: 75px;
    min-height: auto;
  }
  .glass-wrapper > div > div {
    padding: 0;
  }
  .glass-wrapper > div > div > div {
    padding: 5px;
  }
  .hc {
    height: 250px;
  }
  .hs-data > div > div {
    margin: 28px 0;
  }
  .op-card > div:nth-child(2) {
    height: 80px;
  }
  .energy-wrapper .plan-data .pdt {
    height: 80px;
  }
}
